<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>变量表达式</title>
</head>
<body>
<h2>使用变量表达式</h2>
<div>
  <p th:text="${result}">result</p>
  <p th:text="${10+20}">result</p>
  <p th:text="${1>2}">result</p>
  <p th:text="${student01.name}">result</p>
  <p th:text="${student01.phoneNumber}">result</p>
  <p th:text="${session.student02.name}">result</p>
  <p th:text="${session.student02.phoneNumber}">result</p>
  <p th:text="${session.student02.address}">result</p>
</div>
</body>
</html>